package com.example.restful01.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.restful01.mapper.ReportsMapper;
import com.example.restful01.model.Reports;
import com.example.restful01.service.ReportsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportsServiceImpl extends ServiceImpl<ReportsMapper, Reports> implements ReportsService {
    @Autowired
    ReportsMapper reportsMapper;
    @Override
    public List<Reports> initStuReport(Integer reporterId) {
        return reportsMapper.initStuReport(reporterId);
    }
}
